import request from '@/utils/request'

// 客户列表
export function customerLists(params?: Record<string, any>) {
    return request.get({ url: '/customer/list', params })
}

// 获取调解员
export function allCourtClerk(params?: any) {
    return request.get({ url: '/system/admin/all/courtClerk', params })
}

// 客户详情
export function customerDetail(params: Record<string, any>) {
    return request.get({ url: '/customer/detail', params })
}

// 客户新增
export function customerAdd(params: Record<string, any>) {
    return request.post({ url: '/customer/add', params })
}

// 客户编辑
export function customerEdit(params: Record<string, any>) {
    return request.post({ url: '/customer/edit', params })
}

// 客户删除
export function customerDelete(params: Record<string, any>) {
    return request.post({ url: '/customer/del', params })
}
